package com.mes.biz.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @projectName mes
 * @description:
 * @date 2023-07-01 11:39
 */
@Data
public class OrderDeliveryVo {
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value="日期")
    @DateTimeFormat("yyyy-MM-dd")
    private Date installDate;
    @ExcelProperty(value="编号")
    private String orderNumber;
    @ExcelProperty(value="客户名称")
    private String customerName;
    @ExcelProperty(value="地址")
    private String address;
    @ExcelProperty(value="型号")
    private String model;
    @ExcelProperty(value="品牌")
    private String brand;
    @ExcelProperty(value="颜色")
    private String color;
    @ExcelProperty(value="规格")
    private String spec;
    @ExcelProperty(value="数量")
    private BigDecimal number;
    @ExcelProperty(value="单位")
    private String unit;
    @ExcelProperty(value="配送师傅")
    private String installerName;
    @ExcelProperty({"配送","计件单价"})
    private BigDecimal installDeduct;
    @ExcelProperty({"配送","计件工资"})
    private BigDecimal installAmount;
    @ExcelProperty(value="备注")
    private String remark;


}
